package com.mryx.demo.service;

import com.mryx.demo.pojo.User;
import com.mryx.demo.util.PageBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserService {
    public Integer updAddress(User user);
    public Integer getIntegral(Integer uid);
    public Integer updPayPwd(User user);
    public Integer updPhone(User user);
    public Double getBalance(Integer uid);
    public Integer updBalance(User user);
    public Integer updState(User user);
    public User getInfo(Integer uid);
    public PageBean<User> getAllUser(Integer current,Integer pageSize);
    public User getUserByPhone(String pehoneNum);
    public Integer register(String pehoneNum);

}
